/*
 * Description: commodity映射维护调用后台接口JS
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Jian.Yang
 * Date: 2020/04/14 02:42
 */

import { httpPost } from '../../utils/axios-utils'

export function commoditymapList(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/list', obj, authConfig)
}

export function commoditymapPageList(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/pageList', obj, authConfig)
}

export function commoditymapAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/add', obj, authConfig)
}

export function commoditymapEdit(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/edit', obj, authConfig)
}

export function commoditymapDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/delete', obj, authConfig)
}

export function commoditymapBatchAdd(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/batchAdd', obj, authConfig)
}

export function commoditymapBatchDelete(obj, authConfig) {
  return httpPost('/smart-cost/quote/category_commodity_mp/batchEdit', obj, authConfig)
}
